package com.ruoyi.ctcx.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 保险理赔信息对象 tb_insurance_settle
 * 
 * @author lss
 * @date 2024-11-19
 */
public class TbInsuranceSettle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 所属保险id */
    @Excel(name = "所属保险id")
    private Long insureId;

    /** 赔案数量 */
    @Excel(name = "赔案数量")
    private Long settleNum;

    /** 已结案数量 */
    @Excel(name = "已结案数量")
    private Long completeNum;

    /** 总计报损金额 */
    @Excel(name = "总计报损金额")
    private BigDecimal totalAmount;

    /** 已决赔款 */
    @Excel(name = "已决赔款")
    private BigDecimal completeAmount;

    /** 已决赔付率，赔付赔款/保费 */
    @Excel(name = "已决赔付率，赔付赔款/保费")
    private BigDecimal rate;

    /** $column.columnComment */
    private String delFlag;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setInsureId(Long insureId)
    {
        this.insureId = insureId;
    }

    public Long getInsureId()
    {
        return insureId;
    }
    public void setSettleNum(Long settleNum) 
    {
        this.settleNum = settleNum;
    }

    public Long getSettleNum() 
    {
        return settleNum;
    }
    public void setCompleteNum(Long completeNum) 
    {
        this.completeNum = completeNum;
    }

    public Long getCompleteNum() 
    {
        return completeNum;
    }
    public void setTotalAmount(BigDecimal totalAmount) 
    {
        this.totalAmount = totalAmount;
    }

    public BigDecimal getTotalAmount() 
    {
        return totalAmount;
    }
    public void setCompleteAmount(BigDecimal completeAmount) 
    {
        this.completeAmount = completeAmount;
    }

    public BigDecimal getCompleteAmount() 
    {
        return completeAmount;
    }
    public void setRate(BigDecimal rate) 
    {
        this.rate = rate;
    }

    public BigDecimal getRate() 
    {
        return rate;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("insureId", getInsureId())
            .append("settleNum", getSettleNum())
            .append("completeNum", getCompleteNum())
            .append("totalAmount", getTotalAmount())
            .append("completeAmount", getCompleteAmount())
            .append("rate", getRate())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
